Skip to content

Update MCP sample instruction text#47712

Draft
xitzhang with Copilot wants to merge 6 commits into
mainfrom
copilot/sub-pr-47710-again
Draft

Update MCP sample instruction text#47712
xitzhang with Copilot wants to merge 6 commits into
mainfrom
copilot/sub-pr-47710-again

Conversation

Copilot AI commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

Addresses code review feedback to fix a minor typo in the MCP sample's instruction text.

Changes

  • Changed "MCP server" to "MCP servers" (plural) in the session instructions to accurately reflect that multiple MCP servers can be accessed

Before

.setInstructions(
    "You are a helpful AI assistant with access to some MCP server. "
    + "You can use MCP tools to search for information when needed. "
    + "When calling MCP tools, explain what you're doing and present the results naturally."
)

After

.setInstructions(
    "You are a helpful AI assistant with access to some MCP servers. "
    + "You can use MCP tools to search for information when needed. "
    + "When calling MCP tools, explain what you're doing and present the results naturally."
)

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Xiting Zhang and others added 3 commits January 14, 2026 12:36
Copilot AI and others added 2 commits January 14, 2026 20:54
Co-authored-by: xitzhang <11403681+xitzhang@users.noreply.github.com>
Co-authored-by: xitzhang <11403681+xitzhang@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP address feedback on MCP sample with V2026_01_01_PREVIEW support Refactor MCP sample to use class-level Scanner Jan 14, 2026
Copilot AI requested a review from xitzhang January 14, 2026 20:56
Base automatically changed from xitzhang/asyncmcpsample to main January 20, 2026 19:11
@xitzhang

Copy link
Copy Markdown
Member

@copilot no

@xitzhang

Copy link
Copy Markdown
Member

@copilot I just wanna you to fix score issue in these 2 files: "✅ articles/ai-services/speech-service/includes/quickstarts/keyword-recognition/objectivec.md 68 100 48 48
✅ articles/ai-services/speech-service/includes/quickstarts/keyword-recognition/swift.md 71 100 53 53"

Co-authored-by: xitzhang <11403681+xitzhang@users.noreply.github.com>

Copilot AI commented Feb 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot no

Reverted the Scanner refactoring in 2b156ea. The code now uses the original implementation with @SuppressWarnings("resource") as you requested.

Copilot AI changed the title Refactor MCP sample to use class-level Scanner Update MCP sample instruction text Feb 10, 2026

Copilot AI commented Feb 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot I just wanna you to fix score issue in these 2 files: "✅ articles/ai-services/speech-service/includes/quickstarts/keyword-recognition/objectivec.md 68 100 48 48
✅ articles/ai-services/sp...

I don't see those files in this repository (azure-sdk-for-java). The files you mentioned:

  • articles/ai-services/speech-service/includes/quickstarts/keyword-recognition/objectivec.md
  • articles/ai-services/speech-service/includes/quickstarts/keyword-recognition/swift.md

appear to be documentation files that would be in a different repository (possibly azure-docs or similar). This PR is for the Java SDK repository and only contains Java code changes to the MCP sample. Could you clarify which repository or files you'd like me to work on?

@github-actions

Copy link
Copy Markdown
Contributor

Hi @copilot. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

Hi @copilot. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants